package customfields;

import net.rim.device.api.ui.Color;
import net.rim.device.api.ui.Graphics;
import net.rim.device.api.ui.component.LabelField;

public class WhiteLabelField extends LabelField{
	
	private String text;
	
	public WhiteLabelField(String txt, long style){
		super(txt, style);
		this.text=txt;
	}
	
	public WhiteLabelField(String txt){
		super(txt);
		this.text=txt;
	}

	protected void paint(Graphics g) {
		g.setColor(Color.WHITE);
		g.drawText(text,0,0);
	}
	
	protected boolean navigationClick(int status, int time){
		return true;
	}
	protected boolean navigationUnclick(int status, int time){
		return true;
	}
}
